package thread;

import java.util.Scanner;

public class A {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数数字：");
        int time = sc.nextInt();
        for (int i = time; i >= 0; i--){
            System.out.println(i);
            try{
                Thread.sleep(1000);
            }catch (InterruptedException e){
            }
        }
    }
}
